<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>特色菜肴列表</title>
	</head>

	<body>
			<table>
			<tr>
				<td>
					<a href="show_getDetailFoodList.action?foodType=1" > 黔菜</a>
				</td>
			</tr>
			<tr>

				<td>
					<table>
						<tr>
							<c:forEach items="${specialType1List}" var="qiancai">

								<td>
									<a href="show_getFoodDetail.action?foodId=${qiancai.foodId}" >
									${qiancai.name}
									</a>
								</td>
							</c:forEach>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<a href="show_getDetailFoodList.action?foodType=2" >汤菜</a>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tr>
							<c:forEach items="${specialType2List}" var="tangcai">
								<td>
								<a href="show_getFoodDetail.action?foodId=${tangcai.foodId}" >
									<c:out value="${tangcai.name}" />
									</a>
								</td>
							</c:forEach>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<a href="show_getDetailFoodList.action?foodType=3" >火锅</a>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tr>
							<c:forEach items="${specialType3List}" var="huoguo">
								<td>
								<a href="show_getFoodDetail.action?foodId=${huoguo.foodId}" >
									<c:out value="${huoguo.name}" />
									</a>
								</td>
							</c:forEach>
						</tr>
					</table>				
				</td>
			</tr>
			<tr>
				<td>
					<a href="show_getDetailFoodList.action?foodType=4" >面食</a>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tr>
							<c:forEach items="${specialType4List}" var="mianshi">
								<td>
								<a href="show_getFoodDetail.action?foodId=${mianshi.foodId}" >
									<c:out value="${mianshi.name}" />
									</a>
								</td>
							</c:forEach>
						</tr>
					</table>				
				</td>
			</tr>
			<tr>
				<td>
					<a href="show_getDetailFoodList.action?foodType=5" >糕点</a>
				</td>
			</tr>
			<tr>
				<td>
					<table>
						<tr>
							<c:forEach items="${specialType5List}" var="gaodian">
								<td>
								<a href="show_getFoodDetail.action?foodId=${gaodian.foodId}" >
									<c:out value="${gaodian.name}" />
									</a>
								</td>
							</c:forEach>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
